package com.haha.gulimall.ware.feign;

import com.haha.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

//@FeignClient("gulimall-product")
@FeignClient("gulimall-gateway")
public interface PurchaseServiceFeign {

//    @RequestMapping("/api/product/spuinfo/info/{id}")
//
//    public R info(@PathVariable("id") Long id);

    @RequestMapping("/api/product/skuinfo/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
